/**
 * Clase que representa un contador
 * @author Sergio Cala Cordero, Febrero 2010, Herramienta Xfghl
 *
 */

package xfuzzy.alg_genetico.indeterminado.xfghlOld.model.hierStruct;

public class XfghlCounter {

	private int counter;
	
	public XfghlCounter(int counter) {
		this.counter=counter;
	}

	/**
	 * Get 
	 * @return contador
	 */
	public int getCounter() {
		return counter;
	}

	/**
	 * Set
	 * @param counter
	 */
	public void setCounter(int counter) {
		this.counter = counter;
	}

    /**
     * Decrementa
     */
	public void decrease() {
		this.counter--;
	}

	

}
